﻿using MongoDB.Attributes;
using System;

namespace Resn.WhuPub.DML
{
        /// <summary>
        /// 拜访数据模型
        /// </summary>
        public class TravelVisitModel:IIdentity
        {
                /// <summary>
                /// 获取或设置标识
                /// </summary>
                /// <value>
                /// 标识
                /// </value>
                [MongoId]
                public String Id { get; set; }

                /// <summary>
                /// 获取所属差旅标识
                /// </summary>
                /// <value>
                /// 所属差旅标识
                /// </value>
                public string TravelId { get; set; }

                /// <summary>
                /// 获取联系人标识
                /// </summary>
                /// <value>
                /// 所属联系人标识
                /// </value>
                public string ContactId { get; set; }

                /// <summary>
                /// 获取或设置开始时间
                /// </summary>
                /// <value>
                /// 开始时间
                /// </value>
                public DateTime StartTime { get; set; }

                /// <summary>
                /// 获取或设置结束时间
                /// </summary>
                /// <value>
                /// 结束时间
                /// </value>
                public DateTime EndTime { get; set; }

                /// <summary>
                /// 获取或设置拜访方式
                /// </summary>
                /// <value>
                /// 拜访方式
                /// </value>
                public String VisitType { get; set; }

                /// <summary>
                /// 获取或设置拜访目的
                /// </summary>
                /// <value>
                /// 拜访目的
                /// </value>
                public string Objective { get; set; }

                /// <summary>
                /// 获取或设置拜访重点事件
                /// </summary>
                /// <value>
                /// 拜访重点事件
                /// </value>
                public string KeyPoints { get; set; }

                /// <summary>
                /// 获取或设置宴请消费金额
                /// </summary>
                /// <value>
                /// 宴请消费金额
                /// </value>
                public Double EatAmount { get; set; }

                /// <summary>
                /// 获取或设置礼品消费金额
                /// </summary>
                /// <value>
                /// 礼品消费金额
                /// </value>
                public Double GiftAmount { get; set; }

                /// <summary>
                /// 获取或设置录入时间
                /// </summary>
                /// <value>
                /// 录入时间
                /// </value>
                public DateTime EnteringTime { get; set; }

                /// <summary>
                /// 获取或设置备注
                /// </summary>
                /// <value>
                /// 备注
                /// </value>
                public string Memo { get; set; }
        }
}